package client;

import java.io.FileInputStream;
import java.io.IOException;

//import sun.audio.AudioPlayer;
//import sun.audio.AudioStream;

public class SoundEffect {
/*	private final String soundFolder ="./data/suoni/audio/";
	private String soundPath= soundFolder + "beepOk.au";
	private AudioPlayer player=AudioPlayer.player;
	private AudioStream audioStream;

	public SoundEffect(){
		
	}
	
	public SoundEffect(String FileSuono){
		soundPath=soundFolder + FileSuono;
	}
	
	public void start(){
		 try{
		   audioStream = new AudioStream(new FileInputStream(soundPath));
		   player.start(audioStream);
		   }
		 catch(IOException err){
		   err.printStackTrace();
		   }
	}
	
	public void stop(){
		if (audioStream!=null){
			player.stop(audioStream);
		}
	}
	*/
}
